/*
 * @Author       : xh
 * @Date         : 2022-11-14 19:53:18
 * @LastEditors: y001554
 * @FileName     :
 */
import {
  defineComponent,
  toRefs,
  reactive,
  computed,
  onMounted,
  watch,
  ref,
  nextTick,
  getCurrentInstance
} from 'vue'
// import type { FormItemProps } from 'element-plus'
import { ElMessage, ElForm } from 'element-plus'
console.log(333)
export default function useExpand(context: any, form: any): any {
  const { slots, emit, attrs, expose } = context

  const renderUpload = (item: any): any => {
    return <h4>我是自定义扩展的组件</h4>
  }
  return {
    renderUpload
  }
}
